//
//  BindNoInternet.m
//  timelyRain
//
//  Created by Jiafei Wei on 2016/12/26.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import "BindNoInternet.h"
#import "BindVC.h"
#import "NetTools.h"
@interface BindNoInternet ()
- (IBAction)refrsh:(id)sender;

@end

@implementation BindNoInternet

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view setBackgroundColor:[[UIColor blackColor]colorWithAlphaComponent:0.8]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)refrsh:(id)sender {
    if ([NetTools share].isHaveInternet) {
        BindVC *bind =[[BindVC alloc]init];
        [self.navigationController pushViewController:bind animated:YES];
        //[self.navigationController popViewControllerAnimated:YES];
    }
}
@end
